<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>object::value_type</title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.JSON">
<link rel="up" href="../boost__json__object.html" title="object">
<link rel="prev" href="mapped_type.html" title="object::mapped_type">
<link rel="next" href="size_type.html" title="object::size_type">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="mapped_type.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost__json__object.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="size_type.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="json.ref.boost__json__object.value_type"></a><a class="link" href="value_type.html" title="object::value_type">object::value_type</a>
</h5></div></div></div>
<p>
          <a class="indexterm" name="idm23074"></a>
        </p>
<p>
          The element type.
        </p>
<h6>
<a name="json.ref.boost__json__object.value_type.h0"></a>
          <span class="phrase"><a name="json.ref.boost__json__object.value_type.synopsis"></a></span><a class="link" href="value_type.html#json.ref.boost__json__object.value_type.synopsis">Synopsis</a>
        </h6>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">value_type</span> <span class="special">=</span> <span class="identifier">key_value_pair</span><span class="special">;</span>
</pre>
<h6>
<a name="json.ref.boost__json__object.value_type.h1"></a>
          <span class="phrase"><a name="json.ref.boost__json__object.value_type.member_functions"></a></span><a class="link" href="value_type.html#json.ref.boost__json__object.value_type.member_functions">Member
          Functions</a>
        </h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                  <p>
                    Name
                  </p>
                </th>
<th>
                  <p>
                    Description
                  </p>
                </th>
</tr></thead>
<tbody>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__json__key_value_pair/key.html" title="key_value_pair::key">key</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    Return the key of this element.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__json__key_value_pair/key_c_str.html" title="key_value_pair::key_c_str">key_c_str</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    Return the key of this element as a null-terminated string.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__json__key_value_pair/key_value_pair.html" title="key_value_pair::key_value_pair">key_value_pair</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    Copy constructor. <br> <span class="silver">—</span><br>
                    Move constructor. <br> <span class="silver">—</span><br>
                    Pilfer constructor. <br> <span class="silver">—</span><br>
                    Constructor.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__json__key_value_pair/operator_eq_.html" title="key_value_pair::operator=">operator=</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    Copy assignment (deleted).
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__json__key_value_pair/storage.html" title="key_value_pair::storage">storage</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    Return the associated memory resource.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__json__key_value_pair/value.html" title="key_value_pair::value">value</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    Return the value of this element.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__json__key_value_pair/_dtor_key_value_pair.html" title="key_value_pair::~key_value_pair">~key_value_pair</a> <span class="silver">[destructor]</span></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    Destructor.
                  </p>
                </td>
</tr>
</tbody>
</table></div>
<p>
          This is the type of element used by the <a class="link" href="../boost__json__object.html" title="object"><code class="computeroutput"><span class="identifier">object</span></code></a> container.
        </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2019, 2020 Vinnie Falco<br>Copyright © 2020 Krystian Stasiowski<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="mapped_type.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost__json__object.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="size_type.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
